#!/usr/bin/env python

"""
Spare.py is a starting point for a wxPython program.
"""

import wx


class Frame(wx.Frame):
    pass


class MyApp(wx.App):

    # APP启动是 OnInit将被调用
    def OnInit(self):
        self.frame = Frame(parent=None, title='Bare')
        self.frame.Show()
        self.SetTopWindow(self.frame)
        return True


if __name__ == "__main__":
    app = MyApp()
    app.MainLoop()
